﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Logoned.Master" Inherits="System.Web.Mvc.ViewPage<CourseSystem.Core.Entities.CommonResourcesInfo>" %>

<%@ Import Namespace="Chowpoo.Util" %>
<%@ Import Namespace="CourseSystem.Common.Helpers" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    课程资源库
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
        <% Html.RenderPartial("TopUc"); %>
        <% Html.RenderPartial("NavUc", 4); %>
        <% Html.RenderPartial("ResourcesNavUc", Model.Type); %>
    </table>
    <table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
            <td height="200" align="center" valign="top" class="contentBackImg" >
                <table width="980" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td width="222" height="343" align="center" valign="top">
                            <table width="222" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td height="37" background="<%=ResolveUrl("~/Content/images/6_10.gif") %>">
                                    </td>
                                </tr>
                                <% Html.RenderAction("TreeUc", new { type = Model.Type, minType = ViewData["minType"].CheckByte(1) }); %>
                                <tr>
                                    <td height="9" background="<%=ResolveUrl("~/Content/images/3_22.jpg") %>">
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td width="23">
                            &nbsp;
                        </td>
                        <td width="748" align="center" valign="top">
                            <table width="748" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                    <td width="748" height="28" align="left" background="<%=ResolveUrl("~/Content/images/5_01.gif") %>">
                                        <table width="78" height="28" border="0" cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td width="15">
                                                </td>
                                                <td width="63">
                                                    <div align="left">
                                                        <span class="style14">
                                                            <%=ResourcesHelper.GetTextByType(ViewData["minType"].CheckByte(1))%></span></div>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" valign="top" background="<%=ResolveUrl("~/Content/images/5_02.gif") %>">
                                        <table width="99%" border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <td height="25" bgcolor="#CCCCCC">
                                                    <table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
                                                        <% using (Ajax.BeginForm("CommonListUc", new { type = Model.Type, minType = ViewData["minType"].CheckByte(1) }, new AjaxOptions { HttpMethod = "Get", UpdateTargetId = "listDiv", }))
                                                           {%>
                                                        <tr>
                                                            <td width="72">
                                                                <div align="right" class="style1">
                                                                    作品名称：
                                                                </div>
                                                            </td>
                                                            <td width="155">
                                                                <input name="search" type="text" style="width: 130px;" />
                                                            </td>
                                                            <td width="94">
                                                                <table width="50" height="22" border="0" cellpadding="0" cellspacing="0">
                                                                    <tr>
                                                                        <td background="<%=ResolveUrl("~/Content/images/anniu.jpg")%>" class="style1">
                                                                            <div align="center">
                                                                                 <input type="submit" value="搜索" /></div>
                                                                        </td>
                                                                    </tr>
                                                                </table>
                                                            </td>
                                                            <td width="227">
                                                            </td>
                                                        </tr>
                                                        <% } %>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="center" valign="top" bgcolor="#FFFFFF">
                                                    <table width="50%" height="2" border="0" align="center" cellpadding="0" cellspacing="0"
                                                        bordercolor="#FFFFFF">
                                                        <tr>
                                                            <td bgcolor="#FFFFFF">
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td height="13" bgcolor="#FFFFFF" id="listDiv">
                                                    <% Html.RenderAction("CommonListUc", new { type = Model.Type, minType = ViewData["minType"].CheckByte(1) }); %>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td height="3" background="<%=ResolveUrl("~/Content/images/5_04.gif") %>">
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
                <table width="1000" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td height="10">
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeaderContent" runat="server">
</asp:Content>
